package com.vegetable.modules.entity.inbound.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.vegetable.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value="加工打包统计", description="加工打包统计")
public class PackDeliverySequencePO extends BaseEntity {

    @ApiModelProperty(value = "订单时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date orderTime;

    @ApiModelProperty(value = "商品名拼接")
    private String commodityName;

    @ApiModelProperty(value = "原料商品名")
    private String materialName;


    @ApiModelProperty(value = "单号")
    private String docNo;


    @ApiModelProperty(value = "班组Id")
    private String teamId;


    @ApiModelProperty(value = "班组名称")
    private String teamName;

    @ApiModelProperty(value = "数量")
    private Integer number;

    @ApiModelProperty(value = "重量")
    private BigDecimal weight;

    @ApiModelProperty(value = "订单金额合计")
    private BigDecimal money;

    @ApiModelProperty(value = "当前页码")
    private Integer page = 1;

    @ApiModelProperty(value = "每页显示记录数")
    private Integer limit = 10;

    @ApiModelProperty(value = "查询开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date startTime;

    @ApiModelProperty(value = "查询结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date endTime;
}
